AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL Client/Server
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Otros
Procedimientos almacenados
Adds recipients for the notifications sent via the Control Centers (WDBal messaging tool). These notifications are sent by the HFSQL server when a problem occurs or when a possible optimization is detected.
Remark: The sending performed via the Control Centers uses the parameters specified by <Variable Connection>.NotifConfigure (database of Control Centers, ...).
Ejemplo
// Description de la connexion
cnxConnexionCS is Connection

cnxConnexionCS is Connection
cnxConnexionCS.Provider = hAccessHFClientServer
cnxConnexionCS.Utilisateur = "admin"
cnxConnexionCS.MotDePasse = ""
cnxConnexionCS.Serveur = "test:4900"
cnxConnexionCS.OuvreConnexion()

cnxConnexionCS.NotifConfigure(hNotifCCCS, "DOC:4988", "CC_DOC", "DOC", "")
cnxConnexionCS.NotifAjouteDestinataireCC("Florence", hNotifWarning)
Sintaxis
<Result> = <Connection>.NotifAddCCRecipient(<Recipient> , <Minimum level>)
<Result>: Booleano
  • True if the recipient was added.
  • False otherwise. HErrorInfo is used to identify the error.
<Connection>: Variable de tipo Connection
Name of the Connection variable that describes the connection to use.
<Recipient>: Cadena de caracteres
Name of recipient. This name must correspond to a user defined in the database of Control Centers.
<Minimum level>: Constante de tipo Integer
Minimum level of gravity from which a notification is sent:
hNotifCriticalThe notifications will be sent from the critical level (for the critical and error problems).
Example of critical error: "Error while preparing the replica on the master."
hNotifErrorThe notifications will be sent for the error problems only.
Example of error: "The statistical file for server activity is damaged. It will be reinitialized."
hNotifInformationThe notifications will be sent from the information level (for the information, warning, critical and error problems)
Examples of information:
  • During the automatic server update:
    • "The server will be stopped for update. Another notification will be added after the update."
    • "The server was updated to version XXX."
  • During the search for necessary keys on a database in exploitation.
hNotifWarningThe notifications will be sent from the warning level (for the warning, critical and error problems).
Example of warning: The XX server and the YY server have different times. The resolution of conflicts during the replication may be incorrect."

The order of gravity is:
  • Information.
  • Warning.
  • Error.
  • Critical.
Componente: wd300hf.dll
Versión mínima requerida
  • Versión 25
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 17/06/2024

Señalar un error o enviar una sugerencia | Ayuda local